
package voteservice;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.*;

public interface VoteIF extends Remote {
    /**
     * Give the voting result.
     * 
     * @param roleName				Name of the target role.
     * @param EPCClass				EPCClass value associated with the target role.
     * @param comId					Applicant company's id.
     * @param serviceProviderId		Id of voting partner company.
     * @return						true if voting company supports to grant the target role to the applicant company.
     * @throws RemoteException
     */
    public boolean vote(String roleName, String EPCClass, String comId, String serviceProviderId) 
    throws RemoteException;
}
